<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>	
	<link rel="stylesheet" href="<{$smarty.const.__PUBLIC__}>/Css/ask.css" />
	<{include file="../common/head.html"}>
	<script> 
	</script>
	<script type="text/javascript" src="<{$smarty.const.__PUBLIC__}>/Js/ask.js"></script>

<!-- top结束 -->
	<div id='location'>
		<a href="">后盾问答</a>&nbsp;>&nbsp;提问
	</div>

<!--------------------中部-------------------->
	<div id='center'>
		<div class='send'>
			<div class='title'>
				<p class='left'>向亿万网友们提问</p>
				<p class='right'>您还可以输入<span id='num'>50</span>个字</p>
			</div>
			<form action="./index.php?c=ask&a=addAsk" method='post'>
				<div class='cons' style="position:relative;">
					<{if !isset($smarty.session.username)}>
						<h3 class="plaselogin" style="position:absolute;font-size:25px;left:240px;top:25px;"><a href="javascript:;" onclick="$('.login').click()">请您先登陆</a></h3>
						<textarea name="content" id="content" disabled="disabled"></textarea>
						<{else}>
						<textarea name="content" id="content" ></textarea>
					<{/if}>
				</div>
				<div class='reward'>
					<span id='sel-cate' class='cate-btn'>选择分类</span>
					<span  style="line-height:30px;display:block;float:left;margin-left:10px;"><b id="sel-name"></b></span>
					<ul>
						<li style="display:none;">
							
								我的金币：<span class="mypoint"></span>
							
						</li>
						<li style="display:none;">
					  悬赏：<select name="reward">
								<option value="0">0</option>
								<option value="5">5</option>
								<option value="10">10</option>
								<option value="15">15</option>
								<option value="20">20</option>
								<option value="30">30</option>
								<option value="50">50</option>
								<option value="80">80</option>
								<option value="100">100</option>
							</select>金币
						</li>
						
						
						
						
						<{if isset($smarty.session.username)}>
						<li>
							
								我的金币：<span class="mypoint"><{$userinfo.point}></span>
							
						</li>
						<li>
					  悬赏：<select name="reward">
								<option value="0">0</option>
								<option value="5">5</option>
								<option value="10">10</option>
								<option value="15">15</option>
								<option value="20">20</option>
								<option value="30">30</option>
								<option value="50">50</option>
								<option value="80">80</option>
								<option value="100">100</option>
							</select>金币
						</li>
						<{/if}>
					</ul>
				</div>
				<input type='hidden' name='cid' value='0'/>
				<{if isset($smarty.session.uid)}>
					<input type="hidden" name="uid" value="<{$smarty.session.uid}>" />
					<{else}>
					<input type="hidden" name="uid" value="" />
				<{/if}>
				<input type="submit" value='提交问题' class='send-btn'/>
			</form>
		</div>
	</div>
	<div id='category'>
		<p class='title'>
			<span>请选择分类</span>
			<a href="" class='close-window'></a>
		</p>
		
		<div class='sel'>
			<p>为您的问题选择一个合适的分类：</p>
			<select name="cate-one" size='16'>
				<{foreach from=$topcate item=v}>
					<option value="<{$v.cid}>"><{$v.title}></option>
				<{/foreach}>
			</select>
			<select name="cate-one" size='16' class='hidden'></select>
			<select name="cate-one" size='16' class='hidden'></select>
		</div>
		<p class='bottom'>
			<span id='ok'>确定</span>
		</p>
	</div>
<!--------------------中部结束-------------------->

<!-- 底部 -->
	<{include file="../common/foot.html"}>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->